# open打开文件 r 读 w 写 a 追加
# / \ 都可以
# f = open('D:\\b666\\test.txt', 'r')
# f = open('D:/b666/test.txt', 'r')
# f = open('D:\\b666\\test1.txt', 'r')

# print(f)
# print(type(f))

# close关闭文件
# f.close()

# 文件打开的上限
flist = []
count = 0
while True:
    f = open('D:/b666/test.txt', 'r')
    flist.append(f)
    count += 1
    print(f'打开文件的个数: {count}')
# 8198 + 3 输入 输出 标准错误


